<?php
class tintucbs {
	private $MaTT		= 0;
	private $TieuDe		= 0;
	private $NoiDung	= 0;
	private $HinhAnh	= 0;
	private $TenAnh		= 0;
	private $NgayDang	= 0;
	private $MaND		= 0;
	private $LuotXem 	= 0;
	private $KiemDuyet	= 0;
	
	public function Them(){
		$db = new tintucdb;
		$db -> Them($this->MaTT, $this->TieuDe, $this->NoiDung, $this->HinhAnh, $this->TenAnh, $this->NgayDang, $this->MaND, $this->LuotXem, $this->KiemDuyet);
	}
	
	public function Xoa(){
		$data = new tintucdb;
		$db -> Xoa($this->MaTT);
	}
	
	public function LayDanhSach(){
		$db = new tintucdb;
		$db -> LayDanhSach();
	}
}
?>
